package com.meteor.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.meteor.framework.common.base.AutoEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 部门管理
 *
 * @author lynn
 * @date 2024/1/03
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_department")
public class SysDepartment extends AutoEntity<SysDepartment> {


    @Schema(description = "部门编码")
    private String departmentCode;

    @Schema(description = "部门名称")
    private String name;

    @Schema(description = "部门负责人")
    private String principal;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "组织id")
    private String orgId;

}